Auto-gain controlled digital phase-locked loop and method thereof

ABSTRACT

A digital PLL system includes a first multiplier coupled to a phase difference signal for multiplying the phase difference signal by a first gain factor; a second multiplier coupled to the phase difference signal for multiplying the phase difference signal by a second gain factor; a digital loop filter coupled to the first multiplier and the second multiplier for providing an integral signal and a proportional signal and for generating a control signal according to the integral signal and the proportional signal; and an auto-gain control (AGC) unit coupled to the first multiplier, the second multiplier, and the digital loop filter. The AGC unit further comprises a first control unit for updating the first gain factor according to the integral signal; and a second control unit for updating the second gain factor according to the proportional signal.

BACKGROUND

The invention relates to a digital phase-locked loop (PLL), and more particularly, to a digital PLL having an auto-gain control.

In an optical disc drive, an EFM (Eight-to-Fourteen Modulation) signal read from a disc needs to be synchronized so that the EFM signal can be further processed. In general, the optical disc drive is operated under a CAV (Constant Angular Velocity) mode and therefore, a channel bit rate of the EFM signal varies as a pick-up head of the optical disc drive moves from an inner track to an outer track or from an outer track to an inner track of the disc. The channel bit rate variation appears in way of phase and frequency variations of the EFM signal. To track the channel bit rate variation of the EFM signal, a phase-locked loop (PLL) is used.

Please refer to FIG. 1. FIG. 1 is a block diagram of a conventional digital PLL circuit 100 used for tracking the EFM signal. The PLL circuit 100 includes a phase detector (PD) 110, a plurality of multipliers 120 and 130, a digital loop filter 140, and a digitally controlled oscillator (DCO) 150. As the pick-up head moves from one track to another track of a disc, phase and frequency characteristics of the EFM signal change, and a multiplier gain G₁ of the multiplier 120 and a multiplier gain G₂ of the multiplier 130 require adjustments in order to lock the EFM signal. As known to those skilled in this art, the multiplier gains G₁ and G₂ set in PLL circuit 100 are acquired from a predetermined lookup table. As the pick-up head moves, suitable settings of these gains G₁ and G₂ will be decided according to the predetermined lookup table.

In a preferred operating condition, utilizing the lookup table to perform a gain control of the multipliers 120 and 130 satisfies the needs of the optical disc drive under CAV mode. However, the pick-up head will fail to read the EFM signal if a disc was not initially recorded properly. Utilizing the lookup table is insufficient to compensate for this fault since the lookup table expects only phase and frequency variations due to a movement of the pick-up head. Therefore, no matter how many times a re-read operation of the disc is performed, the optical disc drive still fails to read the disc under the above condition.

SUMMARY

It is therefore one of the objectives of the claimed invention to provide a digital phase-locked loop (PLL) circuit having an auto-gain control and method thereof for an optical disc drive, to solve the above-mentioned problem.

The claimed invention provides a digital PLL system. The digital PLL system comprises a phase detector coupled to an input signal and a clock signal for generating a phase difference signal indicating a phase difference between the input signal and the clock signal; a first multiplier coupled to the phase detector for multiplying the phase difference signal by a first gain factor; a second multiplier coupled to the phase detector for multiplying the phase difference signal by a second gain factor; a digital loop filter coupled to the first multiplier and the second multiplier for providing an integral signal and a proportional signal according to outputs of the first multiplier and the second multiplier and for generating a control signal according to the integral signal and the proportional signal; a digitally controlled oscillator coupled to the digital loop filter for generating the clock signal according to the control signal; and an auto-gain control (AGC) unit coupled to the first multiplier, the second multiplier, and the digital loop filter. The AGC unit further comprises a first control unit for updating the first gain factor according to the integral signal; and a second control unit for updating the second gain factor according to the proportional signal.

The claimed invention provides a method for controlling a digital PLL system. The method includes generating a phase difference signal according to an input signal and a clock signal; multiplying the phase difference signal by a first gain factor through a first multiplier of the digital PLL system; multiplying the phase difference signal by a second gain factor through a second multiplier of the digital PLL system; performing digital loop filtering upon outputs of the first multiplier and the second multiplier for providing an integral signal and a proportional signal and for generating a control signal according to the integral signal and the proportional signal; generating the clock signal according to the control signal through a digitally controlled oscillator of the digital PLL system; updating the first gain factor according to the integral signal; and updating the second gain factor according to the proportional signal.

The claimed invention further provides a digital PLL system. The digital PLL system comprises a phase detector coupled to an input signal and a clock signal for generating a phase difference signal indicating a phase difference between the input signal and the clock signal; a first multiplier coupled to the phase detector for multiplying the phase difference signal by a first gain factor; a second multiplier coupled to the phase detector for multiplying the phase difference signal by a second gain factor; a digital loop filter coupled to the first multiplier and the second multiplier for providing an integral signal and a proportional signal according to outputs of the first multiplier and the second multiplier and for generating a control signal according to the integral signal and the proportional signal; a digitally controlled oscillator coupled to the digital loop filter for generating the clock signal according to the control signal; and an auto-gain control (AGC) unit coupled to the first multiplier, the second multiplier, and the digital loop filter. The AGC unit further comprises a first control unit for updating the first gain factor according to the integral signal; and a second control unit for updating the second gain factor according to the phase difference signal.

The claimed invention provides a method for controlling a digital PLL system. The method includes generating a phase difference signal according to an input signal and a clock signal; multiplying the phase difference signal by a first gain factor through a first multiplier of the digital PLL system; multiplying the phase difference signal by a second gain factor through a second multiplier of the digital PLL system; performing digital loop filtering upon outputs of the first multiplier and the second multiplier for providing an integral signal and a proportional signal and for generating a control signal according to the integral signal and the proportional signal; generating the clock signal according to the control signal through a digitally controlled oscillator of the digital PLL system; updating the first gain factor according to the integral signal; and updating the second gain factor according to the phase difference signal.

These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating a conventional digital phase-locked loop circuit.

FIG. 2 is a block diagram of an auto-gain controlled digital phase-locked loop circuit according to a first embodiment of the present invention.

FIG. 3 is a block diagram illustrating a control unit shown in FIG. 2.

FIG. 4 is a block diagram illustrating another control unit shown in FIG. 2.

FIG. 5 is a block diagram of an auto-gain controlled digital phase-locked loop circuit according to a second embodiment of the present invention.

DETAILED DESCRIPTION

Please refer to FIG. 2. FIG. 2 is a block diagram of an auto-gain controlled digital phase-locked loop (PLL) circuit 200 according to a first embodiment of the present invention. As shown in FIG. 2, the PLL circuit 200 contains a phase detector (PD) 210, a plurality of multipliers 220 and 230, a digital loop filter 240, a digitally controlled oscillator (DCO) 250 and an auto-gain control (AGC) unit 260. The PD 210 detects a phase difference between an input signal S_(i) and a clock signal S_(o) to provide a phase difference signal S₁. The phase difference signal S₁ is fed into the multipliers 220 and 230 simultaneously. The multiplier 220 multiplies the phase difference signal S₁ by a first gain factor G₁ to generate a weighted signal S₂. Similarly, the multiplier 230 multiplies the phase difference signal S₁ by a second gain factor G₂ to generate a weighted signal S₃. In this embodiment, the AGC unit 260 is used to adapt the first gain factor G₁ and the second gain factor G₂. The weighted signals S₂ and S₃ are inputted to the digital loop filter 240 for generating a control signal S_(c). The DCO 250 receives the control signal S_(c) and outputs the clock signal S_(o) having a frequency corresponding to the control signal S_(c). The clock signal S_(o) is further fed back to the PD 210. Please note that, as is well known in the art, the PLL circuit 200 can further comprise a frequency divider coupled between the PD 210 and the DCO 250.

The operation of the digital loop filter 240 will now be described. The digital loop filter 240 comprises an integrator 242 and an adder 244. The weighted signal S₂, after being inputted to the digital loop filter 240, is identified as a proportional signal S₄ within the digital loop filter 240. The integrator 242 integrates the weighted signal S₃ to generate an integral signal S₅. The adder 244 adds the integral signal S₅ and the proportional signal S₄ to generate the control signal S_(c).

In this embodiment, the AGC unit 260 comprises a plurality of control units 262 and 264. The control unit 262 receives the integral signal S₅ in the digital loop filter 240 and adapts the first gain factor G₁ according to the integral signal S₅. On the other hand, the control unit 264 receives the proportional signal S₄ in the digital loop filter 240 and adapt the second gain factor G₂ according to the proportional signal S₄.

Please refer to FIG. 3. FIG. 3 is a block diagram illustrating the control unit 262 shown in FIG. 2. As shown in FIG. 3, the control unit 262 comprises a differentiator 310, an absolute value calculator 320, a multiplier 330, and an adder 340. The control unit 262 updates the first gain factor G₁ according to the following formula: G ₁ =K ₁ ·|S _(v) |+G ₁*  (1)

where S_(v)=dS₅/dt is a variation signal, G₁ is the first gain factor, K₁ is a first preset value; |S_(v)| is an absolute variation signal S_(a1), and G₁* is a first preset minimal value.

The differentiator 310 receives the integral signal S₅ and differentiates the integral signal S₅ to provide the variation signal S_(v). The variation signal S_(v) represents a frequency variation at a time instant and the first gain factor G₁ is generated according to this calculated frequency variation. In this embodiment, the differentiator 310 is simplified to compute a difference between two successive values transmitted via the integral signal S₅, but this simplification is not meant to be a limitation of the present invention. The variation S_(v) is fed into the absolute value calculator 320 for generating the absolute variation signal S_(a1) according to the variation signal S_(v). The absolute variation signal S_(al) is generated by taking absolute value over the variation signal S_(v). Therefore, a value transmitted by the absolute variation signal S_(al) is an absolute value of a corresponding value transmitted by the variation signal S_(v). The absolute variation signal S_(a1) is then multiplied by the first preset value K₁ to generate a first difference signal S_(d1). After adding the first preset minimal value G₁* to the first difference signal S_(d1), the first gain factor G₁ is generated and is updated accordingly. Please note that the above-mentioned preset minimal value is for providing the first gain factor G₁ with a value related to a loop gain of the digital PLL 200. Further, since the operation of the multiplier 220 is equivalent to performing a scaling operation on the phase difference signal S₁, the gain factor G₁ set to the multiplier 220 is always a positive number.

The control unit 264 generates the second gain factor G₂ in a similar way as that for the control unit 262 to generate the first gain factor G₁. Please refer to FIG. 4. FIG. 4 is a block diagram illustrating the control unit 264 shown in FIG. 2. As shown in FIG. 4, the control unit 264 comprises an average unit 410, an absolute value calculator 420, a multiplier 430, and an adder 440. The control unit 264 updates the second gain factor G₂ according to the following formula: G ₂ =K ₂ ·|S _(av) |+G ₂*  (2) where ${S_{av} = {\left( {\sum\limits_{m = {n - N + 1}}^{n}{S_{4}(m)}} \right)/N}},$ which acts like an a finite impulse response (FIR) low pass filter, is an averaged signal, G₂ is the second gain factor, K₂ is a second preset value, |S_(av)| is an absolute averaged signal S_(a2), G₂* is a second preset minimal value and N is a window size of a sliding window. Besides employing the FIR filter, the other way to form the averaged signal S_(av) is to use an infinite impulse response (IIR) low pass filter. For example, the averaged signal S_(av) can be obtained by calculating a running average of the proportional signal S₄.

The differentiator 410 receives the proportional signal S₄ and averages values transmitted by the proportional signal S₄ over the sliding window to generate the averaged signal S_(av). The averaged S_(av) is fed into the absolute value calculator 420 for generating the absolute averaged signal S_(a2) according to the averaged signal S_(av). The absolute averaged signal S_(a2) is generated by taking absolute value over the averaged signal S_(av). Therefore, a value transmitted by the absolute averaged signal S_(a2) is an absolute value of a corresponding value transmitted by the averaged signal S_(av). Then, the absolute averaged signal S_(a2) is multiplied by the second preset value K₂ to generate a second difference signal S_(d2). After adding the second preset minimal value G₂* to the second difference signal S_(d2), the second gain factor G₂ is acquired and is updated iteratively. Please note that the above-mentioned second preset minimal value is a value related to a natural frequency of the digital PLL 200. Further, since the operation of the multiplier 230 is equivalent to performing a scaling operation on the phase difference signal S₁, a second multiplier gain is always a positive number.

Please refer to FIG. 5. FIG. 5 is a block diagram of an auto-gain controlled digital phase-locked loop circuit 500 according to a second embodiment of the present invention. The auto-gain controlled digital PLL circuit 500 is similar to the digital PLL circuit 200 shown in FIG. 2 except that the phase difference signal S₁, rather than the proportional signal S₄, is inputted to the control unit 564. In this embodiment, the second preset value K₂ is modified to a suitable value to compensate for the fact that the inputted signal S₁ of the control unit 364 is not multiplied by a gain through the multiplier 320. Since the components of the same name in digital phase-locked loop circuits 200 and 500 have the same operation and functionality, further description is omitted for brevity.

The present invention, when used in an optical disc drive, can replace a conventional gain control mechanism applied to a digital PLL circuit. In other words, a conventional lookup table for determining a multiplier gain of a multiplier in the digital PLL circuit can be eliminated, and an auto-gain controlled digital PLL circuit as mentioned above is adopted instead. On the other hand, the present invention can be an auxiliary for a conventional gain control mechanism of a digital PLL circuit. When an optical disc drive fails to read an EFM signal from a disc, the above-mentioned auto-gain controlled mechanism is capable of supporting the following re-reading procedure.

Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims. 

1. A digital phase-locked loop (PLL) system, comprising: a phase detector coupled to an input signal and a clock signal for generating a phase difference signal indicating a phase difference between the input signal and the clock signal; a first multiplier coupled to the phase detector for multiplying the phase difference signal by a first gain factor; a second multiplier coupled to the phase detector for multiplying the phase difference signal by a second gain factor; a digital loop filter coupled to the first multiplier and the second multiplier for providing an integral signal and a proportional signal according to outputs of the first multiplier and the second multiplier and for generating a control signal according to the integral signal and the proportional signal; a digitally controlled oscillator coupled to the digital loop filter for generating the clock signal according to the control signal; an auto-gain control (AGC) unit coupled to the first multiplier, the second multiplier, and the digital loop filter, the AGC unit comprising: a first control unit for updating the first gain factor according to the integral signal; and a second control unit for updating the second gain factor according to the proportional signal.
 2. The digital PLL system of claim 1, wherein the first control unit comprises: a differentiator for differentiating the integral signal to generate a variation signal; an absolute value calculator coupled to the differentiator for receiving the variation signal and generating an absolute variation signal representing an absolute value of the variation signal; a multiplier coupled to the absolute value calculator for multiplying the absolute variation signal by a first preset value to generate a difference signal; and an adder coupled to the multiplier for adding a second preset value to the difference signal to generate the first gain factor.
 3. The digital PLL system of claim 2, wherein the differentiator computes a difference between two successive values transmitted by the integral signal to form the variation signal.
 4. The digital PLL system of claim 1, wherein the second control unit comprises: an average unit for averaging the proportional signal to generate an averaged signal; an absolute value calculator coupled to the average unit for generating an absolute averaged signal representing an absolute value of the averaged signal; a multiplier coupled to the absolute value calculator for multiplying the absolute averaged signal by a third preset value to generate a difference signal; and an adder coupled to the multiplier for adding a fourth preset value to the difference signal to generate the second gain factor.
 5. The digital PLL system of claim 4, wherein the average unit is a finite impulse response (FIR) low pass filter.
 6. The digital PLL system of claim 4, wherein the average unit is an infinite impulse response (IIR) low pass filter.
 7. The digital PLL system of claim 1 being applied to an optical disc drive.
 8. A method for controlling a digital PLL system, comprising: generating a phase difference signal according to an input signal and a clock signal; multiplying the phase difference signal by a first gain factor through a first multiplier of the digital PLL system; multiplying the phase difference signal by a second gain factor through a second multiplier of the digital PLL system; performing digital loop filtering upon outputs of the first multiplier and the second multiplier for providing an integral signal and a proportional signal and for generating a control signal according to the integral signal and the proportional signal; generating the clock signal according to the control signal through a digitally controlled oscillator of the digital PLL system; updating the first gain factor according to the integral signal; and updating the second gain factor according to the proportional signal.
 9. The method of claim 8, wherein the step of updating the first gain factor further comprises: differentiating the integral signal to generate a variation signal; generating an absolute variation signal representing an absolute value of the variation signal; multiplying the absolute variation signal by a first preset value to generate a difference signal; and updating the first gain factor by summing a second preset value and the difference signal.
 10. The method of claim 9, wherein step of differentiating the integral signal to generate the variation signal computes a difference between two successive values transmitted by the integral signal to form the variation signal.
 11. The method of claim 8, wherein the step of updating the second gain factor further comprises: averaging the proportional signal to generate an averaged signal; generating an absolute averaged signal representing an absolute value of the averaged signal; multiplying the absolute averaged signal by a third preset value to generate a difference signal; and updating the second gain factor by summing a fourth preset value and the difference signal.
 12. The method of claim 11, wherein the averaged signal is generated by performing an FIR low pass filtering on the proportional signal.
 13. The method of claim 11, wherein the averaged signal is generated by performing an IIR low pass filtering on the proportional signal.
 14. The method of claim 8, wherein the digital PLL system is applied to an optical disc drive.
 15. A digital phase-locked loop (PLL) system, comprising: a phase detector coupled to an input signal and a clock signal for generating a phase difference signal indicating a phase difference between the input signal and the clock signal; a first multiplier coupled to the phase detector for multiplying the phase difference signal by a first gain factor; a second multiplier coupled to the phase detector for multiplying the phase difference signal by a second gain factor; a digital loop filter coupled to the first multiplier and the second multiplier for providing an integral signal and a proportional signal according to outputs of the first multiplier and the second multiplier and for generating a control signal according to the integral signal and the proportional signal; a digitally controlled oscillator coupled to the digital loop filter for generating the clock signal according to the control signal; an auto-gain control (AGC) unit coupled to the first multiplier the second multiplier, and the digital loop filter, the AGC unit comprising: a first control unit for updating the first gain factor according to the integral signal; and a second control unit for updating the second gain factor according to the phase difference signal.
 16. The digital PLL system of claim 15, wherein the first control unit comprises: a differentiator for differentiating the integral signal to generate a variation signal; an absolute value calculator coupled to the differentiator for receiving the variation signal and generating an absolute variation signal representing an absolute value of the variation signal; a multiplier coupled to the absolute value calculator for multiplying the absolute variation signal by a first preset value to generate a difference signal; and an adder coupled to the multiplier for adding a second preset value to the difference signal to generate the first gain factor.
 17. The digital PLL system of claim 16, wherein the differentiator computes a difference between two successive values transmitted by the integral signal to form the variation signal.
 18. The digital PLL system of claim 15, wherein the second control unit comprises: an average unit for averaging the phase difference signal to generate an averaged signal; an absolute value calculator coupled to the average unit for generating an absolute averaged signal representing an absolute value of the averaged signal; a multiplier coupled to the absolute value calculator for multiplying the absolute averaged signal by a third preset value to generate a difference signal; and an adder coupled to the multiplier for adding a fourth preset value to the difference signal to generate the second gain factor.
 19. The digital PLL system of claim 18, wherein the average unit is a FIR low pass filter.
 20. The digital PLL system of claim 18, wherein the average unit is an IIR low pass filter.
 21. The digital PLL system of claim 15 being applied to an optical disc drive.
 22. A method for controlling a digital PLL system, comprising: generating a phase difference signal according to an input signal and a clock signal; multiplying the phase difference signal by a first gain factor through a first multiplier of the digital PLL system; multiplying the phase difference signal by a second gain factor through a second multiplier of the digital PLL system; performing digital loop filtering upon outputs of the first multiplier and the second multiplier for providing an integral signal and a proportional signal and for generating a control signal according to the integral signal and the proportional signal; generating the clock signal according to the control signal through a digitally controlled oscillator of the digital PLL system; updating the first gain factor according to the integral signal; and updating the second gain factor according to the phase difference signal.
 23. The method of claim 22, wherein the step of updating the first gain factor further comprises: differentiating the integral signal to generate a variation signal; generating an absolute variation signal representing an absolute value of the variation signal; multiplying the absolute variation signal by a first preset value to generate a difference signal; and updating the first gain factor by summing a second preset value and the difference signal.
 24. The method of claim 23, wherein step of differentiating the integral signal to generate the variation signal computes a difference between two successive values transmitted by the integral signal to form the variation signal.
 25. The method of claim 22, wherein the step of updating the second gain factor further comprises: averaging the phase difference signal to generate an averaged signal; generating an absolute averaged signal representing an absolute value of the averaged signal; multiplying the absolute averaged signal by a third preset value to generate a difference signal; and updating the second gain factor by summing a fourth preset value and the difference signal.
 26. The method of claim 25, wherein the averaged signal is generated by performing an FIR low pass filtering on the phase difference signal.
 27. The method of claim 25, wherein the averaged signal is generated by performing an IIR low pass filtering on the phase difference signal.
 28. The method of claim 22, wherein the digital PLL system is applied to an optical disc drive. 